#pragma once
#include "CharItems.h"

class PyFinder
{
public:
	PyFinder(void);
	~PyFinder(void);
	static PyFinder& Instance()
	{
		static PyFinder instance;
		return instance;
	}
	std::vector<std::wstring> GetFirstPronounce(const std::wstring& str);

	std::wstring GetShengmu(wchar_t c);
	struct CheckResult
	{
		enum Enum 
		{
			Different = 0,
			Same,
			First,
		};
	};
	bool Check(wchar_t chs, wchar_t shengmu);
	void Init();
	void Init(char* pData, int size);
private:

	
	CharItems mCharItems;
};
